package com.telit.firecommand.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.minidev.json.annotate.JsonIgnore;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * Create by Chencf 2022/9/22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class FireAlarmsUpdateStatusPubDTO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "火情id 必填")
    @NotNull
    private String fireId;


    @ApiModelProperty(value = "处理人名称 必填")
    @NotNull
    private String userName;

    @ApiModelProperty(value = "操作人部门名称 必填")
    @NotNull
    private String userCompany;

    @ApiModelProperty(value = "处置意见 不必填")
    private String remark;

    @ApiModelProperty(value = "处置时间 必填")
    private String operatorTime;

    @ApiModelProperty(value = "更改火情status 必填")
    @NotNull
    private String status;

    @ApiModelProperty(value = "是否火情(确认火情，确认为非火情必填)  1是 2 否")
    private Integer isTrue;

    @JsonIgnore
    private Integer notFireType;


    @JsonIgnore
    private String id;

    @ApiModelProperty(value = "操作时的火情状态 必填")
    @NotNull
    private String  oldStatus;

    @ApiModelProperty(value = "业务操作类型 必填 如(处置火情操作)")
    @NotNull
    private String  operatorName;

}
